Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / EventMetric Class / CalculateValues Method / CalculateValues(MetricSampleInterval,Int32,Nullable<DateTimeOffset>,Nullable<DateTimeOffset>,IEventMetricValueDefinition) Method
The requested data sample size
The number of intervals to have between each value exactly.
The earliest date to retrieve data for
The last date to retrieve data for
The specific event metric value to trend

In This Topic
    CalculateValues(MetricSampleInterval,Int32,Nullable<DateTimeOffset>,Nullable<DateTimeOffset>,IEventMetricValueDefinition) Method
    In This Topic
    Calculate displayable values based on the full information captured for this metric
    Syntax

    Parameters

    interval
    The requested data sample size
    intervals
    The number of intervals to have between each value exactly.
    startDateTime
    The earliest date to retrieve data for
    endDateTime
    The last date to retrieve data for
    trendValue
    The specific event metric value to trend

    Return Value

    A metric value set suitable for display
    Remarks
    The raw values may not be suitable for display depending on the unit the values are captured in, and depending on how the data was sampled it may not display well because of uneven sampling if processed directly.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also